<template>
  <view>
    <zh-scroll :scrollList="goods"></zh-scroll>
  </view>
</template>

<script setup>
import shopMalApi from "@/api/shopMal";
import { ref } from "vue";
const goods = ref([]);
getList();
function getList() {
  shopMalApi.goodsType().then((res) => {
    goods.value = res.data;
  });
}
</script>

<style lang="scss">
page {
  background-color: #eef1f3;
}
</style>
